package com.soulkun.smarthome.ui.main.personal.viewmodel

import androidx.databinding.ObservableArrayList
import androidx.lifecycle.ViewModel
import com.soulkun.smarthome.logic.repository.ApiRepository
import com.soulkun.smarthome.logic.vo.RoleVO
import soulkun.library.mvvm.adapter.clearAndAddAll

class AppMainPersonalFamilySetRoleViewModel : ViewModel() {

    val roleList = ObservableArrayList<RoleVO>()

    fun getFamilyRoleList() = ApiRepository.getFamilyRoleList()

}